<html>
<head>
	<title><?php echo $name;?> - Prematch</title>
	<link rel="stylesheet" href='<?php echo base_url()?>css/main.css' type="text/css" media="screen, projection" /> 
</head>
<body>

	<div id="content">
		<h1><?php echo $name;?></h1>
		<p>Phone Number: <?php echo '('.substr($phone,0,3).') '.substr($phone,3,3).'-'.substr($phone,6,4);?></p>
		<p>Email: <a href="mailto:<?php echo $email;?>"><?php echo $email;?></a></p>
		<h3>Description:</h3>
		<div id='description'>
		<p><?php echo $description;?></p>
		</div>
		
		<h3>Posts:</h3>
		<ul>
			<?php foreach ($posts as $post):?>
			<li><?php echo anchor('job/view/'.$post->post_id, $post->title);?></li>
			<?php endforeach;?>
		</ul>
	</div>
</body>
</html>